package com.pi.pro.xcmg.am.was.edi.wcs.dto;





import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 *  WCS->WMS: 入库请求
 */
@Getter
@Setter
public class MoveRequestData implements Serializable {

    // SiteCode	扫码站点	String
    @JsonProperty("SiteCode")
    private String siteCode;

    //PalletCode	托盘编码	String
    @JsonProperty("PalletCode")
    private String palletCode;

    //Height	货载高度	Int
    @JsonProperty("Height")
    private Integer height;

    //Type	入库类型	String			Y
    // 2：空托入库  1：扫码入库    0：拣选回库
    @JsonProperty("Type")
    private String type;


    public String toString() {
        StringBuffer buf = new StringBuffer();
        buf.append("{");
        //
        buf.append("SiteCode:");
        if (this.siteCode != null) {
            buf.append(this.siteCode);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("PalletCode:");
        if (this.palletCode != null) {
            buf.append(this.palletCode);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("Height:");
        if (this.height != null) {
            buf.append(String.valueOf(this.height));
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("Type:");
        if (this.type != null) {
            buf.append(this.type);
        } else {
            buf.append("");
        }
        buf.append("");
        buf.append("}");
        return buf.toString();
    }
}
